@import url(https://fonts.googleapis.com/css?family=Open+Sans:300);

.frame{
    position:absolute;
    width: 400px;
    height: 400px;
    inset: 0;
    margin: auto;
    box-shadow: 1px 2px 10px rgba(0,0,0,0.3);
    border-radius: 2px;
    background-color: #5ca4ea;
    overflow: hidden;
    font-family: 'Open Sans' Arial, Helvetica, sans-serif;
    color: #fff;
}

.center{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.button{
    position: relative;
    cursor: pointer;

    span{
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        line-height: 58px;
        font-size: 18px;
        font-weight: 300;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .border{
        fill: none;
        stroke-width: 1;
    }

    .bg-line{
        fill: #5ca4ea;
        stroke: #91c9ff;
        transition: all .8s ease-in-out;
    }

    .hl-line{
        stroke: #fff;
        stroke-dasharray: 40 480;
        stroke-dashoffset: 40;
        transition: all .8s ease-in-out;
    }

    &:hover{
        .bg-line{
            fill: #4f95da;
        }

        .hl-line{
            stroke-dashoffset: -480;
        }
    }
}